package com.ruoyi.device.aspect;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.device.controller.TmdDeviceInformationController;
import com.ruoyi.device.controller.TmdDeviceMyUseController;
import com.ruoyi.device.domain.TmdDeviceInformation;
import com.ruoyi.device.service.ITmdDeviceInformationService;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;

/**
 * 功能:
 * 作者:胡丁一
 * 日期:2024/5/2 16:57
 */
@Aspect
@EnableAspectJAutoProxy
@Component
public class MyUseAspect {

   @Autowired
   private ITmdDeviceInformationService tmdDeviceInformationService;
   @Autowired
   private TmdDeviceMyUseController tmdDeviceInformationController;

   @Pointcut("execution(* com.ruoyi.device.controller.TmdDeviceInformationController.dfs(..))")
   public void myMethod() {
      //方法体中不写代码
   }

}